import type { RouteType } from '~/types/router'

const Layout = () => import('@/layout/index.vue')

export default {
  name: 'KbParent',
  path: '/',
  component: Layout,
  redirect: '/kb',
  meta: {
    position: 'top',
    order: 3,
  },
  children: [
    {
      name: 'kb',
      path: 'kb',
      component: () => import('./index.vue'),
      meta: {
        title: '知识库',
        icon: 'mdi:bookshelf',
        position: 'top',
      },
    },
  ],
} as RouteType
